package com.hxz.graduationdesign.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewController {
    @RequestMapping("/")
    public String home() {
        return "main";
    }

    @RequestMapping("/main")
    public String main() {
        return "main";
    }
    @RequestMapping("/video")
    public String video() {
        return "video";
    }
    @RequestMapping("/up")
    public String up() {
        return "up";
    }
    @RequestMapping("/comment")
    public String comment() {
        return "comment";
    }
    @RequestMapping("/danmu")
    public String danmu() {
        return "danmu";
    }


}
